import request from '@/utils/request'

// 查询服务市场订单列表
export function listSysServiceMarketOrder(query) {
  return request({
    url: '/system/sysServiceMarketOrder/list',
    method: 'get',
    params: query
  })
}

// 查询服务市场订单详细
export function getSysServiceMarketOrder(id) {
  return request({
    url: '/system/sysServiceMarketOrder/' + id,
    method: 'get'
  })
}

// 新增服务市场订单
export function addSysServiceMarketOrder(data) {
  return request({
    url: '/system/sysServiceMarketOrder',
    method: 'post',
    data: data
  })
}

// 修改服务市场订单
export function updateSysServiceMarketOrder(data) {
  return request({
    url: '/system/sysServiceMarketOrder',
    method: 'put',
    data: data
  })
}

// 删除服务市场订单
export function delSysServiceMarketOrder(id) {
  return request({
    url: '/system/sysServiceMarketOrder/' + id,
    method: 'delete'
  })
}
